﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BI.CF.Model;
using BI.CF.BLL;
namespace BackStage.Hand
{
    /// <summary>
    /// User_GetUpdate 的摘要说明
    /// </summary>
    public class User_GetUpdate : IHttpHandler
    {
        //会员修改显示
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            //获取id
            int id = Convert.ToInt32(context.Request["id"]);
            UsersBLL bll = new UsersBLL();
            UserrsModel m= bll.Show_UserDetails(id);
            string str = JsonHelper.JsonSerializer(m);
            context.Response.Write(str);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}